﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WGM_Client_Net35V2.Views;

namespace WGM_Client_Net35V2.HelperClasses
{   
    public static class ClassRegistry
    {
        private static Dictionary<Type, object> _classList = new Dictionary<Type, object>();
        public static void AddClass(object newClass)
        {
            _classList.Add(newClass.GetType(), newClass);
        }
        public static object GetClass(Type classType)
        {
            return _classList[classType];
        }
    }
}
